home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Treasure Chest
/
Treasure Chest.iso
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-02-25
|
4KB
|
109 lines
@ECHO OFF
ECHO OFF
CLS
ECHO DIGITAL-XTC IS PROUD TO PRESENT:
ECHO "THE TREASURE CHEST - A SAMPLER"
ECHO.
ECHO TO INSTALL THE CD-ROM PLEASE FOLLOW THE INSTRUCTIONS:
IF (%1)==() GOTO ERROR
IF (%2)==() GOTO ERROR
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ D-XTC CD-ROM INSTALLATION │
ECHO ├──────────────────────────────────────────────────────────┤
ECHO │ │
ECHO │ You have choosen a CD-ROM drive of %1 and a target │
ECHO │ drive of %2. (If this is not correct please press │
ECHO │ 'n' in answer of the question below.) │
ECHO │ │
ECHO │ CD-ROM Drive: %1 Install To: %2 │
ECHO │ │
ECHO │ EXAMPLE - INSTALL D C │
ECHO │ ( DO NOT type the : ) │
ECHO │ │
ECHO │ The Example installs from a CD-ROM drive of D to │
ECHO │ a local C drive. │
ECHO │ A sub-directory named D_XTC will be created on drive │
ECHO │ %2. The CD-ROM program files will then be loaded into │
ECHO │ the D_XTC sub-directory. This Install is for Systems │
ECHO │ with a Hard Drive of "C" - If otherwise please read │
ECHO │ the README.TXT file for instructions. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ASK Is this information correct?
if not errorlevel 1 goto ERROR
echo
echo Installing Digital-XTC Treasure Chest...
MD %2:\D_XTC
ECHO OFF
XCOPY %1:\README.* %2:\D_XTC
XCOPY %1:\*.GFT %2:\D_XTC
XCOPY %1:\TMMPLAY.* %2:\D_XTC
XCOPY %1:\TESTAUD.EXE %2:\D_XTC
XCOPY %1:\TEST.WAV %2:\D_XTC
XCOPY %1:\%1PLAY\*.BAT %2:\D_XTC
GOTO DONE
:dfull
CLS
ECHO.
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO │ !!! AN ERROR HAS OCCURRED DURING INSTALLATION !!! │
ECHO. │ │
ECHO │ Please make sure that you have specified a Hard Disk │
ECHO │ as the destination and there is at least 600,000 bytes │
ECHO │ free space. │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
GOTO END
:ERROR
ECHO.
ECHO
ECHO
ECHO ┌──────────────────────────────────────────────────────────┐
ECHO. │ PLEASE INSTALL D-XTC CD AS EXAMPLE! │
ECHO │ │
ECHO │ EXAMPLE: ┌───── CD-ROM DRIVE: │
ECHO │ INSTALL D C │
ECHO │ └───DESTINATION DRIVE: │
ECHO │ │
ECHO │ ( make sure not to type the : ) │
ECHO └──────────────────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
GOTO END
:Done
CLS
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
ECHO ┌──────────────────────────────────────────────┐
ECHO │ Installation complete! │
ECHO │ Once the Audio Test is complete - │
ECHO │ Type GO and press [Enter] to view CD! │
ECHO └──────────────────────────────────────────────┘
ECHO.
ECHO.
ECHO.
ECHO.
ECHO.
%2:
cd \D_XTC
TESTAUD.EXE TEST.WAV
ECHO.
ECHO.
ECHO.
ECHO.
Echo Please Read README.TXT file for Help!
ECHO.
Echo Type GO [ENTER] to view Tresure Chest!
ECHO.
:END